package com.six.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.six.pojo.BuyPlan;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

public interface BuyPlanMapper extends BaseMapper<BuyPlan> {

    //TODO 查询历史发货差(字段:上月多/少发) 参数:年月,原料id

    //查询本月该物料是否已经有采购计划了 参数:年月,原料id
    BuyPlan findPlanByReq(@Param("date") Date date, @Param("materialId") Long materialId);


}
